#########################################################################
##
## This file is part of the SAMRAI distribution.  For full copyright 
## information, see COPYRIGHT and LICENSE. 
##
## Copyright:     (c) 1997-2019 Lawrence Livermore National Security, LLC
## Description:   primary makefile for compiling the SAMRAI xfer package 
##
#########################################################################


SAMRAI        = @top_srcdir@
SRCDIR        = @srcdir@
SUBDIR        = source/SAMRAI/xfer
VPATH         = @srcdir@
OBJECT        = ../../..

default: library

include $(OBJECT)/config/Makefile.config

SUBDIRS = fortran

OBJS = 	\
	BoxGeometryVariableFillPattern.o \
	PatchInteriorVariableFillPattern.o \
	PatchLevelFullFillPattern.o \
	PatchLevelBorderFillPattern.o \
	PatchLevelBorderAndInteriorFillPattern.o \
	PatchLevelEnhancedFillPattern.o \
	PatchLevelInteriorFillPattern.o \
	PatchLevelFillPattern.o \
	VariableFillPattern.o \
	RefineAlgorithm.o \
	CoarsenAlgorithm.o \
	RefineSchedule.o \
	RefineScheduleConnectorWidthRequestor.o \
	CoarsenSchedule.o \
	RefineTimeTransaction.o \
	RefineCopyTransaction.o \
	StandardRefineTransactionFactory.o \
	RefineTransactionFactory.o \
	RefinePatchStrategy.o \
	RefineClasses.o \
	CoarsenCopyTransaction.o \
	StandardCoarsenTransactionFactory.o \
	CoarsenTransactionFactory.o \
	CoarsenPatchStrategy.o \
	CoarsenClasses.o \
	SingularityPatchStrategy.o \
	CompositeBoundaryAlgorithm.o \
	CompositeBoundarySchedule.o

library: $(OBJS)
	for DIR in $(SUBDIRS); do if test -d $$DIR; then (cd $$DIR && $(MAKE) $@) ; fi || exit 1; done
clean:
	$(CLEAN_COMMON_LIB_FILES)
	for DIR in $(SUBDIRS); do if test -d $$DIR; then (cd $$DIR && $(MAKE) $@) ; fi || exit 1; done

include $(SRCDIR)/Makefile.depend
